import type { BannerResult } from '@/types'
import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useSwiperStore = defineStore(
  'swiper',
  () => {
    const bannerList = ref<BannerResult[]>([])
    return {
      bannerList,
    }
  },
  {
    persist: true,
  },
)
